In this guide, you will learn how to install Scribo and build a
production ready site.
Install with pip
.
1 |
|
In this quickstart, we'll build a small site for a Python course
which will have pages like assignments, resources and
more.
Assume, the code of the course is py101. Now, let's initialize the
project.
1 |
|
A directory structure of the following will be created.
1 2 3 4 5 |
|
Let's change the meta.json file. After the change file file looks like
this.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
|
Now, let's write content for site.
First, the index page. Edit the index.md at the root of the project,
with the following LLM generated content index.md.
Now, let's write the assignment, resources page.
Inside pages/
create two directory with index.md files.
index.md file is necessary. You may delete the other directories
if you don't need them.
1 2 3 4 5 6 7 |
|
Now, same as before write content to the files using
It's time to build the project.
1 2 |
|
A new directory will be created named dist.
You can deploy this to any static site hosting provider, you wish.
See live view of py101.
Now that you know the basics, read the docs to learn more.